import { http } from "@/utils/http";
import type { AjaxResult } from "./types";
import { baseUrlApi, request } from "./utils";

export const hello1 = () => {
  return http.request<AjaxResult>("get", baseUrlApi("/"));
};

/**
 * NextGenPos风格API
 * 从utils中导入request 方法
 * params / data
 */
export function hello() {
  return request({
    url: "/",
    method: "get"
  });
}
